From 50838d6ec04b9583e2796aa26ee2cb028adaa25f Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Tue, 10 Aug 2010 23:47:47 -0500 Subject: [PATCH] Replace "/bin/sh -e" with "set -e" in common and bin-common postinsts. --- debian/changelog | 6 +++++- debian/emacsVER-bin-common.postinst | 4 +++- debian/emacsVER-common.postinst | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 88cf37ceca8..90763d0459b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,7 +12,11 @@ emacs23 (23.2+1-3) unstable; urgency=low Stéphane Glondu for the 23.2+1-2.1 NMU. - -- Rob Browning Tue, 10 Aug 2010 23:40:54 -0500 + * Use "set -e" rather than "/bin/sh -e" in emacsVER-common.postinst + and emacsVER-bin-common.postinst. Thanks to Stéphane Glondu + for the 23.2+1-2.1 NMU. + + -- Rob Browning Tue, 10 Aug 2010 23:44:41 -0500 emacs23 (23.2+1-2) unstable; urgency=low diff --git a/debian/emacsVER-bin-common.postinst b/debian/emacsVER-bin-common.postinst index 08dc2b2b460..593d277c920 100644 --- a/debian/emacsVER-bin-common.postinst +++ b/debian/emacsVER-bin-common.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e FLAVOR=@DEB_FLAVOR@ MAJOR=@MAJOR_VERSION@ diff --git a/debian/emacsVER-common.postinst b/debian/emacsVER-common.postinst index 9e6f0002e86..39dbe15584e 100644 --- a/debian/emacsVER-common.postinst +++ b/debian/emacsVER-common.postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e MAJOR=@MAJOR_VERSION@ MINOR=@MINOR_VERSION@ -- 2.30.2